import requests


headers = {
    'accept': 'application/json, text/plain, */*',
    'accept-language': 'en-US,en;q=0.5',
    # 'cookie': '_gcl_au=1.1.1232704667.1712716000; _ga=GA1.1.2055355987.1712716000; _clck=16fkki5%7C2%7Cfkt%7C0%7C1561; _fbp=fb.1.1712716000652.2077826055; _clsk=1p4daj9%7C1712716002301%7C1%7C1%7Cf.clarity.ms%2Fcollect; _ga_YGL2BXTNZ9=GS1.1.1712716000.1.1.1712716181.59.0.0',
    'origin': 'https://www.mepsking.com',
    'referer': 'https://www.mepsking.com/',
    'sec-ch-ua': '"Google Chrome";v="123", "Not:A-Brand";v="8", "Chromium";v="123"',
    'sec-ch-ua-mobile': '?0',
    'sec-ch-ua-platform': '"Windows"',
    'sec-fetch-dest': 'empty',
    'sec-fetch-mode': 'cors',
    'sec-fetch-site': 'same-site',
    'timezone': 'Asia/Shanghai',
    'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36',
}

response = requests.get('https://apis.mepsking.com/meps/mission/getMissionFlag',headers=headers)
print(response.json())
print(response.request.headers)